pub mod animal;

pub fn add(left: u64, right: u64) -> u64 {
    left + right
}

#[cfg(test)]
mod tests {
    use super::*;
    use animal::cat;
    use animal::dog;

    #[test]
    fn it_works() {
        let result = add(2, 2);
        assert_eq!(result, 4);
    }

    #[test]
    fn use_cat() {
        cat::hello();
        assert!(true, "{}", cat::is_cat());
    }

    #[test]
    fn use_dog() {
        dog::hello();
        assert!(true, "{}", dog::is_dog());
    }
}
